import java.io.*;
import java.util.ArrayList;
import java.util.Random;

public class History implements Serializable {

	private ArrayList<String> generalHistory;
	private ArrayList<String> secretHistory;
	private Random random;
	
	public History() {
		generalHistory = new ArrayList<String>();
		secretHistory = new ArrayList<String>();
		random = new Random();
	}
	
	public void addGeneralHistory(String ... GenHist) {
		for (String a : GenHist) {
			generalHistory.add(a);
		}
	}
	
	public void addSecretHistory(String ... SecHist) {
		for (String a : SecHist) {
			secretHistory.add(a);
		}
	}
	
	public String getGeneralHistory() {
		return generalHistory.get(random.nextInt(generalHistory.size()));
	}
	
	public String getSecretHistory() {
		return secretHistory.get(random.nextInt(generalHistory.size()));
	}
	
}
